package com.isnmp.common.base;

import java.util.logging.Level;
import java.util.logging.Logger;

public class MyLog {
    public static Logger log = Logger.getLogger("global");

    public static void initLogParam(String paramString) {
    }

    public static boolean err(String paramString) {
        log.severe(paramString);
        return true;
    }

    public static boolean warning(String paramString) {
        log.warning(paramString);
        return true;
    }

    public static boolean log(String paramString) {
        log.info(paramString);
        return true;
    }

    public static boolean goodMessage(String paramString) {
        log.fine(paramString);
        return true;
    }

    public static boolean debug(Exception paramException) {
        log.log(Level.WARNING, paramException.getMessage(), paramException);
        return true;
    }

    public static void main(String[] paramArrayOfString) {
        for (int i = 1; i <= 1; i++) {
            log(new Exception("").getClass().toString() + i);
            err(new Exception("").getClass().toString() + i);
            debug(new Exception(""));
        }
    }
}